.manage-purchase__info {
	font-size: 13px;
	padding: 16px;

	@include breakpoint ( ">660px" ) {
		font-size: 14px;
		padding: 16px 24px;
	}

	&.is-expired {
		background: $gray-light;

		.manage-purchase__content {
			opacity: .6;
		}
	}

	&.is-expired + .notice {
		margin-top: -10px;

		@include breakpoint ( ">480px" ) {
			margin-top: -16px;
		}
	}

	&.is-placeholder {
		.manage-purchase__content {
			@include placeholder( 23% );

			display: block;
		}

		.manage-purchase__subtitle,
		.manage-purchase__title {
			margin-bottom: 3px;
		}

		.manage-purchase__detail-label {
			margin-bottom: 3px;
		}

		.manage-purchase__settings-link {
			width: 30%;
		}

		.manage-purchase__subtitle {
			width: 40%;
		}

		.manage-purchase__title {
			width: 60%;
		}

		@include breakpoint( ">660px" ) {
			.manage-purchase__detail,
			.manage-purchase__detail-label {
				height: 40px;
			}
		}

		@include breakpoint( "<660px" ) {
			.manage-purchase__detail {
				width: 25%;
			}

			.manage-purchase__detail-label {
				width: 70%;
			}
		}
	}
}

.manage-purchase__header {
	border-bottom: 1px solid lighten( $gray, 30% );
	overflow: auto;
	padding: 0 0 16px 0;
}

.manage-purchase__title {
	color: $gray-dark;
	display: block;
	font-size: 18px;
	font-weight: 400;

	@include breakpoint( ">660px" ) {
		font-family: $serif;
		font-size: 24px;
		font-weight: 700;
		padding-right: 100px;
	}
}

.manage-purchase__subtitle {
	color: darken( $gray, 10% );
	display: block;
	font-size: 11px;
	text-transform: uppercase;
}

.manage-purchase__settings-link {
	font-size: 13px;
	line-height: 1.75em;

	.gridicon {
		position: relative;
		top: 2px;
		left: 3px;
		color: $gray;
	}
}

.manage-purchase__meta {
	display: flex;
	list-style: none;
	margin: 0;
	overflow: auto;
	padding: 0;

	@include breakpoint( "<660px" ) {
		flex-direction: column;
	}

	li {
		color: darken( $gray, 30% );
		font-size: 13px;
		margin-top: 15px;

		@include breakpoint( "<660px" ) {
			clear: both;
			overflow: auto;
		}

		@include breakpoint( ">660px" ) {
			box-sizing: border-box;
			flex: 1 1 auto;
			font-size: 18px;
			text-align: center;
			padding: 0 8px;

			&:first-child {
				padding-left: 0;
			}
			&:last-child {
				padding-right: 0;
			}
		}

		+ li {
			@include breakpoint( ">660px" ) {
				border-left: 1px solid lighten( $gray, 30% );
			}
		}

		> a {
			color: darken( $gray, 30% );
			display: block;
			text-decoration: none;
		}
	}
}

.manage-purchase__detail-label {
	font-style: normal;
	font-weight: 600;

	@include breakpoint( "<660px" ) {
		flex-direction: row;
		float: left;
	}

	@include breakpoint( ">660px" ) {
		color: darken( $gray, 10% );
		display: block;
		font-family: $sans;
		font-size: 10px;
		font-weight: 400;
		margin: 0 0 5px 0;
		text-transform: uppercase;
	}
}

.manage-purchase__time-period {
	font-size: 75%;
	opacity: .7;
}

.manage-purchase__detail {
	@include breakpoint( "<660px" ) {
		display: block;
		float: right;
		text-align: right;
	}

	.payment-logo {
		margin-right: 5px;
	}

	a {
		display: block;
		font-size: 12px;
		cursor: pointer;
	}
}

.manage-purchase__expiring-credit-card-notice.notice,
.manage-purchase__purchase-expiring-notice.notice {
	margin-bottom: 10px;

	@include breakpoint( ">660px" ) {
		margin-bottom: 16px;
	}
}

.manage-purchase__renew-button {
	@include breakpoint( "<660px" ) {
		margin-top: 16px;
		width: 100%;
	}

	@include breakpoint( ">660px" ) {
		position: absolute;
			right: 24px;
			top: 16px;
	}
}

.manage-purchase__contact-support {
	border-top: solid 1px lighten( $gray, 30% );
	color: $gray;
	margin-top: 15px;
	padding-top: 10px;
}
